package com.firmye.publicmodule.dao.first;

import com.firmye.publicmodule.model.user.pojo.Role;
import com.firmye.publicmodule.model.user.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {

    User queryUserByUsername(@Param("username") String username);

    List<Role> queryRolesByUserId(@Param("userId") Integer userId);
}
